public class TestDemo {
    public static void main(String[] args) {
        Cat cat = new Cat("大黄",5);
/*        cat.name = "大黄";
        cat.eat();*/
        System.out.println("======");
        Dog dog = new Dog("小黑",10);
/*        dog.name = "小黑";
        dog.bark();*/
    }
}
